(function(){
//选择页面dom 作为爬虫的 目标取值 对象
window.main = function()
{
    var app = this;
    app.checkSessionServiceName = "mission.account.checksession"; 
    app.loginServiceName = "";
    //获取AccessToken 
    var accesstoken =  Rsd.getUrlParam("accesstoken");
    //通过 key 获取要网站页面 对应的模板地址
    var _src = "http://agent.redmicro.cn/sina/";

     
    //为了不破坏模板的dom结构，将模板放iframe中编辑 设置模版地址到iframe 
    var ele = document.getElementById("agent_site");
    ele.src = _src+ "?_mode_=spider";
};
var submitPageLink = function submitPageLink(url,txt)
{
    console.log(txt,url);
}

})()